package structures;

import pack.MyReader;

public class CardControlActivityDataRecord extends ElementaryFile{

	public static int size = 46;
	
	public final ControlType controlType;
	public final TimeReal controlTime;
	public final FullCardNumber controlCardNumber;
	public final VehicleRegistrationIdentification controlVehicleRegistration;
	public final TimeReal controlDownloadPeriodBegin;
	public final TimeReal controlDownloadPeriodEnd;
	
	public CardControlActivityDataRecord(MyReader reader)
	{
		controlType = new ControlType(reader);
		controlTime = new TimeReal(reader);
		controlCardNumber = new FullCardNumber(reader);
		controlVehicleRegistration = new VehicleRegistrationIdentification(reader);
		controlDownloadPeriodBegin = new TimeReal(reader);
		controlDownloadPeriodEnd = new TimeReal(reader);
	}
}
